package com.example.cupid.pojo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 2021/9/6
 **/
@Data
public class Order {
    private int id;
    private Double totalAmount;
    private Date gmtCreate;
    private Date gmtPayment;
    private String outTradeNo;
    private String tradeNo;
    private int userId;
    public Order(Double totalAmount,
                 Date gmtCreate,
                 Date gmtPayment,
                 String outTradeNo,
                 String tradeNo,
                 int userId){
        this.gmtCreate = gmtCreate;
        this.gmtPayment = gmtPayment;
        this.totalAmount = totalAmount;
        this.outTradeNo = outTradeNo;
        this.tradeNo = tradeNo;
        this.userId = userId;
    }
}
